class AdvertiseMessageDetailState {
  AdvertiseMessageDetailState({
    this.createBy = "",
    this.createTime = "",
    this.noticeContent = "",
    this.noticeId,
    this.noticeTitle = "",
    this.noticeType = "",
    this.remark = "",
    this.status = "",
    this.updateBy = "",
    this.updateTime = "",
  });

  ///创建人，示例：-
  String? createBy;

  ///创建时间，示例：null
  String? createTime;

  ///公告内容，示例：你好
  String? noticeContent;

  ///公告id，示例：1
  int? noticeId;

  ///公告标题，示例：测试
  String? noticeTitle;

  ///公告类型（1通知 2公告）
  String? noticeType;

  ///备注，示例：null
  String? remark;

  ///公告状态（0正常 1关闭）
  String? status;

  ///更新人，示例：-
  String? updateBy;

  ///更新时间，示例：null
  String? updateTime;

  factory AdvertiseMessageDetailState.fromJson(Map<String, dynamic> json) =>
      AdvertiseMessageDetailState(
        createBy: json['createBy'] ?? "",
        createTime: json['createTime'] ?? "",
        noticeContent: json['noticeContent'] ?? "",
        noticeId: json['noticeId'] ?? "",
        noticeTitle: json['noticeTitle'] ?? "",
        noticeType: json['noticeType'] ?? "",
        remark: json['remark'] ?? "",
        status: json['status'] ?? "",
        updateBy: json['updateBy'] ?? "",
        updateTime: json['updateTime'] ?? "",
      );
}
